﻿using Lcygcc.Domain.Service;
using Lcygcc.Infrastructure.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lcygcc.Domain.TaskServiceAdapter
{
    /// <summary>
    /// 数据清理
    /// </summary>
    public class ClearDataAdapter : ITaskWork
    {
        private readonly IClearDataService mClearDataService = null;
        public ClearDataAdapter(IClearDataService clearDataService)
        {
            mClearDataService = clearDataService;
        }

        public void Execute(RequestArgs args)
        {
            mClearDataService.ClearSyncData();
        }
    }
}
